
const { ref } = Vue

// 状态
import { useCounterStore } from './state.js'

export default {
  name: 'pinia-test',
  setup() {
    const count = ref(0)
    
    const test = useCounterStore()

    return {
      test,
      count
    }
  }
}